export const imageerror = {
  inserted(dom, binding) {
    dom.onerror = function() {
      dom.src = binding.value
    }
  }
}

export const color = {
  inserted(dom, binding) {
    dom.style.color = binding.value
  }
}

